package com.logistics.system.domain;

import com.logistics.common.core.annotation.Excel;
import com.logistics.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 运输计划对象 transport_plans
 * 
 * @author logistics
 * @date 2024-06-23
 */
public class TransportPlans extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 计划id */
    private Long planId;

    /** 合同id */
    @Excel(name = "合同id")
    private Long contractId;

    /** 计划编号 */
    @Excel(name = "计划编号")
    private String planNumber;

    /** 计划名称 */
    @Excel(name = "计划名称")
    private String planName;

    /** 计划运输量 */
    @Excel(name = "计划运输量")
    private BigDecimal plannedTransportVolume;

    /** 托运人 */
    @Excel(name = "托运人")
    private String shipper;

    /** 发货地址 */
    @Excel(name = "发货地址")
    private String shipperAddress;

    /** 收货人 */
    @Excel(name = "收货人")
    private String consignee;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String consigneeAddress;

    /** 计划状态 */
    @Excel(name = "计划状态")
    private String planStatus;

    /** $column.columnComment */
    private String delFlag;

    public void setPlanId(Long planId) 
    {
        this.planId = planId;
    }

    public Long getPlanId() 
    {
        return planId;
    }
    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }
    public void setPlanNumber(String planNumber) 
    {
        this.planNumber = planNumber;
    }

    public String getPlanNumber() 
    {
        return planNumber;
    }
    public void setPlanName(String planName) 
    {
        this.planName = planName;
    }

    public String getPlanName() 
    {
        return planName;
    }
    public void setPlannedTransportVolume(BigDecimal plannedTransportVolume) 
    {
        this.plannedTransportVolume = plannedTransportVolume;
    }

    public BigDecimal getPlannedTransportVolume() 
    {
        return plannedTransportVolume;
    }
    public void setShipper(String shipper) 
    {
        this.shipper = shipper;
    }

    public String getShipper() 
    {
        return shipper;
    }
    public void setShipperAddress(String shipperAddress) 
    {
        this.shipperAddress = shipperAddress;
    }

    public String getShipperAddress() 
    {
        return shipperAddress;
    }
    public void setConsignee(String consignee) 
    {
        this.consignee = consignee;
    }

    public String getConsignee() 
    {
        return consignee;
    }
    public void setConsigneeAddress(String consigneeAddress) 
    {
        this.consigneeAddress = consigneeAddress;
    }

    public String getConsigneeAddress() 
    {
        return consigneeAddress;
    }
    public void setPlanStatus(String planStatus) 
    {
        this.planStatus = planStatus;
    }

    public String getPlanStatus() 
    {
        return planStatus;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("planId", getPlanId())
            .append("contractId", getContractId())
            .append("planNumber", getPlanNumber())
            .append("planName", getPlanName())
            .append("plannedTransportVolume", getPlannedTransportVolume())
            .append("shipper", getShipper())
            .append("shipperAddress", getShipperAddress())
            .append("consignee", getConsignee())
            .append("consigneeAddress", getConsigneeAddress())
            .append("planStatus", getPlanStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
